package com.zzw.bridge.common.entitys.business;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 点云文件与墩柱报告关系表
 *
 * @author XiaoJie
 * @date 2025-05-16 14:00:28
 */
@ApiModel(value = "点云文件与墩柱报告关系表")
@Data
@Builder
@TableName("zzw_file_report_association")
public class ZzwFileReportAssociationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	@TableId
	private String id;

	@ApiModelProperty(value = "墩柱报表id")
	@TableField("report_id")
	private String reportId;

	@ApiModelProperty(value = "点云id（也是文件在目标地址的文件夹目录）")
	@TableField("cloud_id")
	private String cloudId;

	@ApiModelProperty(value = "文件地址")
	@TableField("file_url")
	private String fileUrl;

	@ApiModelProperty(value = "文件名称")
	@TableField("file_name")
	private String fileName;

	@ApiModelProperty(value = "上传时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField("create_time")
	private Date createTime;

	@ApiModelProperty(value = "更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField("update_time")
	private Date updateTime;

	@ApiModelProperty(value = "是否删除（0-未删除；1-已删除）")
	@TableField("is_delete")
	private Integer isDelete;

}
